{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": 2,
   "metadata": {},
   "outputs": [
    {
     "ename": "IndentationError",
     "evalue": "unindent does not match any outer indentation level (<tokenize>, line 29)",
     "output_type": "error",
     "traceback": [
      "\u001b[1;36m  File \u001b[1;32m\"<tokenize>\"\u001b[1;36m, line \u001b[1;32m29\u001b[0m\n\u001b[1;33m    elif week_time == 2:\u001b[0m\n\u001b[1;37m    ^\u001b[0m\n\u001b[1;31mIndentationError\u001b[0m\u001b[1;31m:\u001b[0m unindent does not match any outer indentation level\n"
     ]
    }
   ],
   "source": [
    "#登录系统\n",
    "user_data = [\"AAA\",\"BBB\",\"CCC\",] \n",
    "password_data = \"111\"\n",
    "user_data_vip = [\"AAA\"] \n",
    "\n",
    "count = 3\n",
    "while True:\n",
    "    count -=1 \n",
    "    user_name = input(\"登录帐号：\")\n",
    "    pass_word = input(\"登录密码：\")\n",
    "    # 1. 判断帐号\n",
    "    if user_name in user_data:\n",
    "        if user_name in user_data and user_name in user_data_vip:\n",
    "            if pass_word == password_data:\n",
    "                count = 3\n",
    "                while True:\n",
    "                    count -= 1\n",
    "                    print(\"欢迎会员\")\n",
    "                    print(\"您还有\", count, \"次查看机会\")\n",
    "                    import datetime\n",
    "\n",
    "            time = datetime.datetime.today().weekday()\n",
    "            week_time = int(time)\n",
    "                    # week _time\n",
    "            if week_time == 1:\n",
    "                        print(\"新的一周开始了\")\n",
    "                        print(\"6-7写作训练\");\n",
    "                        print(\"8-9大英\");\n",
    "                    elif week_time == 2:\n",
    "                        print(\"1-2毛概实践\");\n",
    "                        print(\"8-10创业实践\")\n",
    "                    elif week_time == 3:\n",
    "                        print(\"1-2体育\");\n",
    "                        print(\"3-5毛概\");\n",
    "                        print(\"12-13大英\")\n",
    "                    elif week_time == 4:\n",
    "                        print(\"3-5python\");\n",
    "                        print(\"8-9广告文案\");\n",
    "                    elif week_time == 5:\n",
    "                        print(\"3-5网站\")\n",
    "                else:\n",
    "                        print(\"周六周日打工人不能休息\")\n",
    "                    break\n",
    "            else:\n",
    "                if count == 0:\n",
    "                    print(\"你都输入三次了，还不对，笨死了~~~，别输了，5分钟后再来\")\n",
    "                    break"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": []
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.8.3"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 4
}
